package com.example.produces.mapper;

import com.example.produces.entity.Pay;
import com.example.produces.entity.RawReturn;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository//数据访问层 (DAO 层 ) 的类标识为bean
public interface RawReturnMapper {
    List<RawReturn> findAll();
    void add(RawReturn rawReturn);
    RawReturn findOne(String name);
    void upDate(RawReturn rawReturn);
    void delete(String name);
}
